#ifndef TABLEDATAADDITIONDIALOG_H
#define TABLEDATAADDITIONDIALOG_H

#include "abstract-data-addition-dialog.h"
#include "section-info.h"

namespace Ui { class TableDataAdditionDialog; }
class AbstractDatabaseClient;
class AbstractSectionModel;
class SortFilterProxyModel;

class TableDataAdditionDialog : public AbstractDataAdditionDialog
{
    Q_OBJECT
public:
    explicit TableDataAdditionDialog(QWidget *parent = 0);

public slots:
    virtual void setSectionInfo (const SectionInfo &sectionInfo);
    virtual void initialize();
    virtual void accept();

protected slots:
    virtual void tableSelectionChanged();

protected:
    Ui::TableDataAdditionDialog* ui;
    AbstractSectionModel* m_abstractModel;
    SortFilterProxyModel* m_proxyModel;
    SectionInfo m_sectionInfo;
};

#endif // TABLEDATAADDITIONDIALOG_H
